// 声明的关键词一般约定全部大写
const KEY = 'my-token-mobile'
// 保存token
export const setToken = (data) => {
  localStorage.setItem(KEY, data)
}
// 获取token
export const getToken = () => {
  return localStorage.getItem(KEY)
}
// 删除token
export const removeToken = () => {
  localStorage.removeItem(KEY)
}
